package me.ereach.multiinterfaces;

import org.junit.Test;

public class MyTest {
    @Test
    public void test01() {
        Square square = new Square(7);
        System.out.println(square.getArea());
        System.out.println(square.getPerimeter());

        System.out.println("===");

        Cube cube = new Cube(7);
        System.out.println(cube.getArea());
        System.out.println(cube.getPerimeter());
        System.out.println(cube.getVolume());
    }
}
